package sk.fhi.shared.rpc.action;

import sk.fhi.shared.model.AbstractEntity;
import sk.fhi.shared.rpc.AbstractAction;
import sk.fhi.shared.rpc.result.ListResult;




public class ListAction extends AbstractAction<ListResult> {

	private AbstractEntity kind;

	public ListAction() {
	}
	
	public ListAction(AbstractEntity kind) {
		super();
		this.kind = kind;
	}

	@Override
	public String getLogMessage() {
		return "Listing entity: "+kind.getClass().getName();
	}
	
	public AbstractEntity getKind() {
		return kind;
	}	

}
